package com.vhall.component.entity.record.enums;

import com.vhall.component.entity.dictionary.enums.BaseEnum;
import lombok.Getter;

/**
 * ChapterPointStatusEnum-
 *
 * @author xing.wang
 * @date 2023/10/19
 */
@Getter
public enum ChapterPointStatusEnum implements BaseEnum {
    OPEN(1,"开启章节打点")
    ,CLOSE(0,"关闭章节打点");
    private final Integer value;
    private final String name;

    ChapterPointStatusEnum(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getName() {
        return name;
    }
}
